package com.ibl.rover.lite.common.bean;

import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;

public abstract class BaseBean implements IBean {

	public static final String COL_ID = "_ID";
	public static final int IDX_COL_ID = 0;

	private int _id;

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public abstract String getCreateTableQuery();

	public abstract String getInsertQuery();

	public abstract String getDeleteQuery();

	public abstract String getUpdateQuery();

	public abstract String getTableName();

	public abstract void bind(SQLiteStatement sqlLiteStatement);

	public abstract <T extends BaseBean> T cursorBind(Cursor cursor);

	public abstract <T extends BaseBean> T cursorInit(Cursor cursor);
	


	public abstract ContentValues bindContentValues() ;
		
	

}
